﻿using SqlSugar;

namespace CJJ_BlogApiV3.Model.DbBaseModel
{
    /// <summary>
    /// 角色表
    /// </summary>
    [SugarTable("tm_sysrole")]
    public class SysRole
    {
        /// <summary>
        /// 
        /// </summary>
        public SysRole()
        {
        }

        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public System.Int32 RoleId { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String RoleName { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.DateTime CreateDate { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32 CreateBy { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.DateTime? UpdateDate { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32? UpdateBy { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.UInt64? IsSuperAdmin { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32? ServiceProviderID { get; set; }
    }
}